package com.youhome.service;

import com.github.pagehelper.PageInfo;
import com.youhome.model.BShareGroup;

/**
 * Created by chen365 on 2018/09/18.
 */
public interface ShareGroupService {
    int deleteByPrimaryKey(String shareId);

    int insert(BShareGroup record);

    int insertSelective(BShareGroup record);

    BShareGroup selectByPrimaryKey(String shareId);

    int updateByPrimaryKeySelective(BShareGroup record);

    int updateByPrimaryKey(BShareGroup record);

    PageInfo<BShareGroup> selectByBean(Integer pageNumber, Integer pageSize, BShareGroup record);


    int deleteByShareIdAndCounselorId(BShareGroup bShareGroup);
}
